From 36d4a8090fed992401160005cd86657802019ce5 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 20 Oct 2020 23:09:11 -0400 Subject: [PATCH] docs: Document more accessible roles GtkColumnView and its various components use a lot of accessible roles. --- gtk/gtkcolumnview.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gtk/gtkcolumnview.c b/gtk/gtkcolumnview.c index bc0b1b8be5..d6c8c58b73 100644 --- a/gtk/gtkcolumnview.c +++ b/gtk/gtkcolumnview.c @@ -105,6 +105,13 @@ * The main columnview node may also carry style classes to select * the style of [list presentation](ListContainers.html#list-styles): * .rich-list, .navigation-sidebar or .data-table. + * + * # Accessibility + * + * GtkColumnView uses the #GTK_ACCESSIBLE_ROLE_TREE_GRID role, header title + * widgets are using the #GTK_ACCESSIBLE_ROLE_COLUMN_HEADER role. The row widgets + * are using the #GTK_ACCESSIBLE_ROLE_ROW role, and individual cells are using + * the #GTK_ACCESSIBLE_ROLE_GRID_CELL role */ /* We create a subclass of GtkListView for the sole purpose of overriding -- 2.30.2